package com.ruoyi.datastatistics.service;

import com.alibaba.fastjson2.JSONArray;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.datastatistics.domain.DosageTrendData;

import java.util.List;
import java.util.Map;

public interface ITerminalDbStatisticAnalysisService {

    //单表多时段
    Map<String,Object> oneTerminal(String[] location_nb,String[] readDates);

    public JSONArray oneTerminal2(String[] location_nb, String[] readDates, String[] time, int type);

    //多表同时段
    Map<String,Object> multiTerminal(String[] location_nb, String[] readDates);

    //用量趋势
    List<DosageTrendData> dosageTrend(String location_nb, String startTime, String endTime, String interval, String dataType);

    //用量趋势
    TableDataInfo dosageTrendForPage(String location_nb, String startTime, String endTime, String interval, String dataType);
}
